import Vue from 'vue'
import Vuex from 'vuex'
import count from '@/store/count.js'
import condition from '@/store/condition.js'
import user from '@/store/user.js'
import cart from '@/store/cart.js'
import address from '@/store/address.js'
// Vue.use(Vuex）的作用就是让vue承认store这个属性，否则初始化Vc的时候，vue不会解析store这个属性
Vue.use(Vuex)


const store = new Vuex.Store({
	modules: {
		count,
		condition,
		user,
		cart,
		address
  }
})

export default store